package com.lineage.server.clientpackets;

import com.lineage.echo.ClientExecutor;
import com.lineage.server.model.Instance.L1PcInstance;
import com.lineage.server.model.L1Trade;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class C_TradeCancel extends ClientBasePacket {
  private static final Log _log = LogFactory.getLog(C_TradeCancel.class);
  
  public void start(byte[] decrypt, ClientExecutor client) {
    try {
      L1PcInstance player = client.getActiveChar();
      L1Trade trade = new L1Trade();
      trade.tradeCancel(player);
    } catch (Exception exception) {
    
    } finally {
      over();
    } 
  }
  
  public String getType() {
    return getClass().getSimpleName();
  }
}
